<template>
<div class="about">
  <h2>欢迎来到Vue3about页面</h2>
</div>
</template>

<script lang="ts" setup name="About">
import {onMounted,onUnmounted} from "vue";
onMounted(()=>{
  console.log('About组件挂载了')
})
onUnmounted(()=>{
  console.log('About组件卸载了')
})
</script>

<style scoped>
.about{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: rgba(85,84,84);
  font-size: 18px;
}

</style>